<template>
  <el-affix>
    <el-row>
      <el-col v-for="(item,index) in btnList" :span="4">
        <el-button mx="1/8" w="3/4" color="#393939" @click="$jumpByName.jumpByName(item.link)" type="primary">{{item.name}}</el-button>
      </el-col>
    </el-row>
  </el-affix>
  <router-view/>
</template>

<style>
</style>

<script setup lang="ts">
class btnItem {
  name: string | undefined;
  link: string | undefined;
  constructor(name:string,link:string) {
    this.name=name
    this.link=link
  }
}
const btnList: btnItem[] = [
    new btnItem('登陆', 'login')
];

</script>
